package com.drug.mingkang.model.vo;

import java.io.Serializable;

/**
 * 描述：销售明细Vo
 *
 * @version 1.0
 * @author: wcj
 * @Date: 2020/8/21 20:06
 */
public class HqMarketDetailVo implements Serializable {

    /**
     * 销售id
     */
    private String marketDetailId;


    /**
     * 总公司销售id
     */
    private String marketId;

    /**
     * 药品名称
     */
    private String drugName;

    /**
     * 最小金额
     */
    private String priceMin;

    /**
     * 最大金额
     */
    private String priceMax;

    /**
     * 最小数量
     */
    private String numMin;

    /**
     * 最大数量
     */
    private String numMax;


    /**
     * 销售明细开始时间
     */
    private String startTime;


    /**
     * 销售明细结束时间
     */
    private String endTime;


    /**
     * 页
     */
    private int page;

    /**
     * 行
     */
    private int limit;

    public String getMarketId() {
        return marketId;
    }

    public void setMarketId(String marketId) {
        this.marketId = marketId;
    }

    public String getDrugName() {
        return drugName;
    }

    public void setDrugName(String drugName) {
        this.drugName = drugName;
    }

    public String getPriceMin() {
        return priceMin;
    }

    public void setPriceMin(String priceMin) {
        this.priceMin = priceMin;
    }

    public String getPriceMax() {
        return priceMax;
    }

    public void setPriceMax(String priceMax) {
        this.priceMax = priceMax;
    }

    public String getNumMin() {
        return numMin;
    }

    public void setNumMin(String numMin) {
        this.numMin = numMin;
    }

    public String getNumMax() {
        return numMax;
    }

    public void setNumMax(String numMax) {
        this.numMax = numMax;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getMarketDetailId() {
        return marketDetailId;
    }

    public void setMarketDetailId(String marketDetailId) {
        this.marketDetailId = marketDetailId;
    }

    public int getPage() {
        return (page-1)*limit;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    @Override
    public String toString() {
        return "HqMarketDetailVo{" +
                "marketDetailId='" + marketDetailId + '\'' +
                ", drugName='" + drugName + '\'' +
                ", priceMin='" + priceMin + '\'' +
                ", priceMax='" + priceMax + '\'' +
                ", numMin='" + numMin + '\'' +
                ", numMax='" + numMax + '\'' +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", page=" + page +
                ", limit=" + limit +
                '}';
    }
}
